<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    body{
        margin: 0;
        padding: 0;
        /* background: #ffeb38; */
        background: #52e0f3;

    }
    ul{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        margin: 0;
        padding: 0;
        display: flex;
    }
    ul li {
        list-style: none;
        width: 20px;
        height: 20px;
        /* background: #cea321; */
        background: #15adc1;
        margin:  0 5px;
        border-radius: 50%;
        animation: animate 1.4s linear infinite;
    }
    @keyframes animate{
        0%{
            /* transform: translateY(0) */
            transform: translateX(0)
        }
        60%{
            /* transform: translateY(0) */
            transform: translateX(0)
        }
        88%{
            /* transform: translateY(-20PX) */
            transform: translateX(-10px)
        }
        100%{
            /* transform: translateY(0px) */
            transform: translateX(0px)
        }
    }

    ul li:nth-child(1){
        animation-delay: 0;
    }
    ul li:nth-child(2){
        animation-delay: -1.2s;
    }
    ul li:nth-child(3){
        animation-delay: -1s;
    }
    ul li:nth-child(4){
        animation-delay: -.8s;
    }
    ul li:nth-child(5){
        animation-delay: -.6s;
    }
 
</style>
<body>
    <ul>
        <li> </li>
        <li> </li>
        <li> </li>
        <li> </li>
        <li> </li>
    </ul>
</body>
</html>